<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>TurtleDB: ca.uqac.dim.turtledb.Tuple Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">TurtleDB
   
   </div>
   <div id="projectbrief">A mini distributed database system</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#pac-methods">Package Functions</a>  </div>
  <div class="headertitle">
<div class="title">ca.uqac.dim.turtledb.Tuple Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="ca::uqac::dim::turtledb::Tuple" --><div class="dynheader">
Collaboration diagram for ca.uqac.dim.turtledb.Tuple:</div>
<div class="dyncontent">
<div class="center"><img src="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple__coll__graph.png" border="0" usemap="#ca_8uqac_8dim_8turtledb_8_tuple_coll__map" alt="Collaboration graph"/></div>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#a0d215825f092e153906f9f9fda60f3b8">Tuple</a> (<a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html">Tuple</a> t)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#a6790507c8c5071ed4025da6c47b9c2b4">Tuple</a> (<a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_schema.html">Schema</a> sch, <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_value.html">Value</a>[] val)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#ac0fb249cdbe6438fb02a938524afb256">Tuple</a> (<a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_schema.html">Schema</a> sch, String values)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#a846cbb8b648465c78633cc623caec4ee">setSchema</a> (<a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_schema.html">Schema</a> sch)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_value.html">Value</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#a8d2822b5abbaf7d7e8f9e0ccd5a035db">get</a> (<a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_literal.html">Literal</a> a)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#ae012ae993f9236ecb3061e5bc5bd4482">clear</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#a55688bd4a73cc7b161b0169cbd214eea">put</a> (<a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_attribute.html">Attribute</a> a, <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_value.html">Value</a> v)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#a67092d88e3da32638fbd51de7c98abf6">putAll</a> (<a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html">Tuple</a> t)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Set&lt; <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_attribute.html">Attribute</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#a9ed7ea608a6160b7a02c0a134a8272bf">keySet</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#a61a5e3467ce2c275167bd5ae4d4d1293">setTable</a> (String name)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#ad254ca190d8ce9149f0b329ee33adee0">compareTo</a> (<a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html">Tuple</a> t)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#aa20fa8a28c37cb86d0b422ce8db63a0b">size</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#abe810bf9cd68db28cf2388748eb4aadb">toString</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#a244d8246fd0a5133638f4c2e7cefb9c1">getDegree</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#ad5be2811554ef22301c274978350715b">equals</a> (Object o)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#a94f9d56abe091c4378b0415c8ab339b4">equals</a> (<a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html">Tuple</a> t)</td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html">Tuple</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#abf66ad4658f532ec40f83a61bde8b837">makeTuple</a> (Vector&lt; <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html">Tuple</a> &gt; v)</td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Vector&lt; <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_attribute.html">Attribute</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#ab45b2be961e64e360f9c889b95e1ae0c">m_attributes</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Vector&lt; <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_value.html">Value</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#a5f8ccf3b9dc13c393077ad3b90140219">m_values</a></td></tr>
<tr><td colspan="2"><h2><a name="pac-methods"></a>
Package Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#a443db9c90b30bdaf361c3aaef0aa951e">Tuple</a> ()</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A tuple is an <em>ordered</em> collection of attribute-value pairs. </p>
<dl class="author"><dt><b>Author:</b></dt><dd>sylvain </dd></dl>

<p>Definition at line <a class="el" href="_tuple_8java_source.html#l00027">27</a> of file <a class="el" href="_tuple_8java_source.html">Tuple.java</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a443db9c90b30bdaf361c3aaef0aa951e"></a><!-- doxytag: member="ca::uqac::dim::turtledb::Tuple::Tuple" ref="a443db9c90b30bdaf361c3aaef0aa951e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#a443db9c90b30bdaf361c3aaef0aa951e">ca.uqac.dim.turtledb.Tuple.Tuple</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [package]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_tuple_8java_source.html#l00032">32</a> of file <a class="el" href="_tuple_8java_source.html">Tuple.java</a>.</p>

</div>
</div>
<a class="anchor" id="a0d215825f092e153906f9f9fda60f3b8"></a><!-- doxytag: member="ca::uqac::dim::turtledb::Tuple::Tuple" ref="a0d215825f092e153906f9f9fda60f3b8" args="(Tuple t)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#a443db9c90b30bdaf361c3aaef0aa951e">ca.uqac.dim.turtledb.Tuple.Tuple</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html">Tuple</a>&#160;</td>
          <td class="paramname"><em>t</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructor by copy </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">t</td><td>A tuple </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_tuple_8java_source.html#l00043">43</a> of file <a class="el" href="_tuple_8java_source.html">Tuple.java</a>.</p>

</div>
</div>
<a class="anchor" id="a6790507c8c5071ed4025da6c47b9c2b4"></a><!-- doxytag: member="ca::uqac::dim::turtledb::Tuple::Tuple" ref="a6790507c8c5071ed4025da6c47b9c2b4" args="(Schema sch, Value[] val)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#a443db9c90b30bdaf361c3aaef0aa951e">ca.uqac.dim.turtledb.Tuple.Tuple</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_schema.html">Schema</a>&#160;</td>
          <td class="paramname"><em>sch</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_value.html">Value</a>[]&#160;</td>
          <td class="paramname"><em>val</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_tuple_8java_source.html#l00057">57</a> of file <a class="el" href="_tuple_8java_source.html">Tuple.java</a>.</p>

</div>
</div>
<a class="anchor" id="ac0fb249cdbe6438fb02a938524afb256"></a><!-- doxytag: member="ca::uqac::dim::turtledb::Tuple::Tuple" ref="ac0fb249cdbe6438fb02a938524afb256" args="(Schema sch, String values)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#a443db9c90b30bdaf361c3aaef0aa951e">ca.uqac.dim.turtledb.Tuple.Tuple</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_schema.html">Schema</a>&#160;</td>
          <td class="paramname"><em>sch</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>values</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_tuple_8java_source.html#l00067">67</a> of file <a class="el" href="_tuple_8java_source.html">Tuple.java</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ae012ae993f9236ecb3061e5bc5bd4482"></a><!-- doxytag: member="ca::uqac::dim::turtledb::Tuple::clear" ref="ae012ae993f9236ecb3061e5bc5bd4482" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#ae012ae993f9236ecb3061e5bc5bd4482">ca.uqac.dim.turtledb.Tuple.clear</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_tuple_8java_source.html#l00105">105</a> of file <a class="el" href="_tuple_8java_source.html">Tuple.java</a>.</p>

</div>
</div>
<a class="anchor" id="ad254ca190d8ce9149f0b329ee33adee0"></a><!-- doxytag: member="ca::uqac::dim::turtledb::Tuple::compareTo" ref="ad254ca190d8ce9149f0b329ee33adee0" args="(Tuple t)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#ad254ca190d8ce9149f0b329ee33adee0">ca.uqac.dim.turtledb.Tuple.compareTo</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html">Tuple</a>&#160;</td>
          <td class="paramname"><em>t</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Compares two tuples. We use lexicographical ordering of the tuple's values, starting from the left. </p>

<p>Definition at line <a class="el" href="_tuple_8java_source.html#l00147">147</a> of file <a class="el" href="_tuple_8java_source.html">Tuple.java</a>.</p>

</div>
</div>
<a class="anchor" id="ad5be2811554ef22301c274978350715b"></a><!-- doxytag: member="ca::uqac::dim::turtledb::Tuple::equals" ref="ad5be2811554ef22301c274978350715b" args="(Object o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#ad5be2811554ef22301c274978350715b">ca.uqac.dim.turtledb.Tuple.equals</a> </td>
          <td>(</td>
          <td class="paramtype">Object&#160;</td>
          <td class="paramname"><em>o</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_tuple_8java_source.html#l00197">197</a> of file <a class="el" href="_tuple_8java_source.html">Tuple.java</a>.</p>

</div>
</div>
<a class="anchor" id="a94f9d56abe091c4378b0415c8ab339b4"></a><!-- doxytag: member="ca::uqac::dim::turtledb::Tuple::equals" ref="a94f9d56abe091c4378b0415c8ab339b4" args="(Tuple t)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#ad5be2811554ef22301c274978350715b">ca.uqac.dim.turtledb.Tuple.equals</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html">Tuple</a>&#160;</td>
          <td class="paramname"><em>t</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_tuple_8java_source.html#l00207">207</a> of file <a class="el" href="_tuple_8java_source.html">Tuple.java</a>.</p>

</div>
</div>
<a class="anchor" id="a8d2822b5abbaf7d7e8f9e0ccd5a035db"></a><!-- doxytag: member="ca::uqac::dim::turtledb::Tuple::get" ref="a8d2822b5abbaf7d7e8f9e0ccd5a035db" args="(Literal a)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_value.html">Value</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#a8d2822b5abbaf7d7e8f9e0ccd5a035db">ca.uqac.dim.turtledb.Tuple.get</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_literal.html">Literal</a>&#160;</td>
          <td class="paramname"><em>a</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_tuple_8java_source.html#l00093">93</a> of file <a class="el" href="_tuple_8java_source.html">Tuple.java</a>.</p>

</div>
</div>
<a class="anchor" id="a244d8246fd0a5133638f4c2e7cefb9c1"></a><!-- doxytag: member="ca::uqac::dim::turtledb::Tuple::getDegree" ref="a244d8246fd0a5133638f4c2e7cefb9c1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#a244d8246fd0a5133638f4c2e7cefb9c1">ca.uqac.dim.turtledb.Tuple.getDegree</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the tuple's degree (i.e. number of columns) </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The degree </dd></dl>

<p>Definition at line <a class="el" href="_tuple_8java_source.html#l00191">191</a> of file <a class="el" href="_tuple_8java_source.html">Tuple.java</a>.</p>

</div>
</div>
<a class="anchor" id="a9ed7ea608a6160b7a02c0a134a8272bf"></a><!-- doxytag: member="ca::uqac::dim::turtledb::Tuple::keySet" ref="a9ed7ea608a6160b7a02c0a134a8272bf" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Set&lt;<a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_attribute.html">Attribute</a>&gt; <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#a9ed7ea608a6160b7a02c0a134a8272bf">ca.uqac.dim.turtledb.Tuple.keySet</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_tuple_8java_source.html#l00123">123</a> of file <a class="el" href="_tuple_8java_source.html">Tuple.java</a>.</p>

</div>
</div>
<a class="anchor" id="abf66ad4658f532ec40f83a61bde8b837"></a><!-- doxytag: member="ca::uqac::dim::turtledb::Tuple::makeTuple" ref="abf66ad4658f532ec40f83a61bde8b837" args="(Vector&lt; Tuple &gt; v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html">Tuple</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#abf66ad4658f532ec40f83a61bde8b837">ca.uqac.dim.turtledb.Tuple.makeTuple</a> </td>
          <td>(</td>
          <td class="paramtype">Vector&lt; <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html">Tuple</a> &gt;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fusions multiple tuples to create a single tuple </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">v</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd></dd></dl>

<p>Definition at line <a class="el" href="_tuple_8java_source.html#l00230">230</a> of file <a class="el" href="_tuple_8java_source.html">Tuple.java</a>.</p>

</div>
</div>
<a class="anchor" id="a55688bd4a73cc7b161b0169cbd214eea"></a><!-- doxytag: member="ca::uqac::dim::turtledb::Tuple::put" ref="a55688bd4a73cc7b161b0169cbd214eea" args="(Attribute a, Value v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#a55688bd4a73cc7b161b0169cbd214eea">ca.uqac.dim.turtledb.Tuple.put</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_attribute.html">Attribute</a>&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_value.html">Value</a>&#160;</td>
          <td class="paramname"><em>v</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_tuple_8java_source.html#l00111">111</a> of file <a class="el" href="_tuple_8java_source.html">Tuple.java</a>.</p>

</div>
</div>
<a class="anchor" id="a67092d88e3da32638fbd51de7c98abf6"></a><!-- doxytag: member="ca::uqac::dim::turtledb::Tuple::putAll" ref="a67092d88e3da32638fbd51de7c98abf6" args="(Tuple t)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#a67092d88e3da32638fbd51de7c98abf6">ca.uqac.dim.turtledb.Tuple.putAll</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html">Tuple</a>&#160;</td>
          <td class="paramname"><em>t</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_tuple_8java_source.html#l00117">117</a> of file <a class="el" href="_tuple_8java_source.html">Tuple.java</a>.</p>

</div>
</div>
<a class="anchor" id="a846cbb8b648465c78633cc623caec4ee"></a><!-- doxytag: member="ca::uqac::dim::turtledb::Tuple::setSchema" ref="a846cbb8b648465c78633cc623caec4ee" args="(Schema sch)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#a846cbb8b648465c78633cc623caec4ee">ca.uqac.dim.turtledb.Tuple.setSchema</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_schema.html">Schema</a>&#160;</td>
          <td class="paramname"><em>sch</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Overwrites the schema of a tuple. This works only if the new schema has the same cardinality as the old one. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">sch</td><td>The schema to replace the tuple's current one </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_tuple_8java_source.html#l00083">83</a> of file <a class="el" href="_tuple_8java_source.html">Tuple.java</a>.</p>

</div>
</div>
<a class="anchor" id="a61a5e3467ce2c275167bd5ae4d4d1293"></a><!-- doxytag: member="ca::uqac::dim::turtledb::Tuple::setTable" ref="a61a5e3467ce2c275167bd5ae4d4d1293" args="(String name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#a61a5e3467ce2c275167bd5ae4d4d1293">ca.uqac.dim.turtledb.Tuple.setTable</a> </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Affixes a given table name to all attributes of the tuple. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>The table's name </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_tuple_8java_source.html#l00134">134</a> of file <a class="el" href="_tuple_8java_source.html">Tuple.java</a>.</p>

</div>
</div>
<a class="anchor" id="aa20fa8a28c37cb86d0b422ce8db63a0b"></a><!-- doxytag: member="ca::uqac::dim::turtledb::Tuple::size" ref="aa20fa8a28c37cb86d0b422ce8db63a0b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#aa20fa8a28c37cb86d0b422ce8db63a0b">ca.uqac.dim.turtledb.Tuple.size</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_tuple_8java_source.html#l00167">167</a> of file <a class="el" href="_tuple_8java_source.html">Tuple.java</a>.</p>

</div>
</div>
<a class="anchor" id="abe810bf9cd68db28cf2388748eb4aadb"></a><!-- doxytag: member="ca::uqac::dim::turtledb::Tuple::toString" ref="abe810bf9cd68db28cf2388748eb4aadb" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">String <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#abe810bf9cd68db28cf2388748eb4aadb">ca.uqac.dim.turtledb.Tuple.toString</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_tuple_8java_source.html#l00173">173</a> of file <a class="el" href="_tuple_8java_source.html">Tuple.java</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="ab45b2be961e64e360f9c889b95e1ae0c"></a><!-- doxytag: member="ca::uqac::dim::turtledb::Tuple::m_attributes" ref="ab45b2be961e64e360f9c889b95e1ae0c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Vector&lt;<a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_attribute.html">Attribute</a>&gt; <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#ab45b2be961e64e360f9c889b95e1ae0c">ca.uqac.dim.turtledb.Tuple.m_attributes</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_tuple_8java_source.html#l00029">29</a> of file <a class="el" href="_tuple_8java_source.html">Tuple.java</a>.</p>

</div>
</div>
<a class="anchor" id="a5f8ccf3b9dc13c393077ad3b90140219"></a><!-- doxytag: member="ca::uqac::dim::turtledb::Tuple::m_values" ref="a5f8ccf3b9dc13c393077ad3b90140219" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Vector&lt;<a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_value.html">Value</a>&gt; <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html#a5f8ccf3b9dc13c393077ad3b90140219">ca.uqac.dim.turtledb.Tuple.m_values</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_tuple_8java_source.html#l00030">30</a> of file <a class="el" href="_tuple_8java_source.html">Tuple.java</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/ca/uqac/dim/turtledb/<a class="el" href="_tuple_8java_source.html">Tuple.java</a></li>
</ul>
</div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceca.html">ca</a>      </li>
      <li class="navelem"><a class="el" href="namespaceca_1_1uqac.html">uqac</a>      </li>
      <li class="navelem"><a class="el" href="namespaceca_1_1uqac_1_1dim.html">dim</a>      </li>
      <li class="navelem"><a class="el" href="namespaceca_1_1uqac_1_1dim_1_1turtledb.html">turtledb</a>      </li>
      <li class="navelem"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html">Tuple</a>      </li>

    <li class="footer">Generated on Fri Dec 7 2012 18:55:40 for TurtleDB by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>
